package com.ljt.kotlinandmvvm.main.viewholder

import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.ljt.kotlinandmvvm.R

/**
 * @auther :lujiantao
 * @date :2024/5/3 6:18 PM
 * @desc :购物车viewholder
 */
class ShoppingCartViewHolder(view: View): RecyclerView.ViewHolder(view){
    val ivModuleSelect: ImageView = view.findViewById(R.id.ivModuleSelect)
    val ivModuleCommandityPicture:ImageView = view.findViewById(R.id.ivModuleCommandityPicture)
    val tvModuleCommandityName : TextView = view.findViewById(R.id.tvModuleCommandityName)
    val tvModuleCommandityPrice:TextView = view.findViewById(R.id.tvModuleCommandityPrice)
    val tvModuleReduce:TextView = view.findViewById(R.id.tvModuleReduce)
    val tvModuleNum:TextView = view.findViewById(R.id.tvModuleNum)
    val tvModuleAdd:TextView = view.findViewById(R.id.tvModuleAdd)
}